package org.linlinjava.litemall.admin.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;


@Data
@ApiModel("秒杀商品列表")
public class SecKillListVo {

    @ApiModelProperty("秒杀商品id")
    private Integer id;

    @ApiModelProperty("商品编号")
    private String goodsSn;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty("商品库存量")
    private Integer number;

    @ApiModelProperty("秒杀库存量")
    private Integer killNumber;

    @ApiModelProperty("初始秒杀存量")
    private Integer initialNumber;

    @ApiModelProperty("排序")
    private Byte sortOrder;

    @ApiModelProperty("原始价格")
    private BigDecimal retailPrice;

    @ApiModelProperty("秒杀价格")
    private BigDecimal killPrice;
}
